package com.augurit.smartform.factory;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.augurit.smartform.database.dialect.Dialect;

@Component
public class DialectFactory {
	private Dialect dialect;

	@Resource(name="myDialect")
	public void setDialect(Dialect dialect) {
		this.dialect = dialect;
	}
	
	public Dialect getDialect() {
		return dialect;
	}
}
